import { VxeUI } from 'vxe-pc-ui'

import VSelect from '@/components/VxeRender/VSelect.vue'

VxeUI.renderer.add('ZSelect', {
  // 项显示模板
  renderFormItemContent(h, renderOpts, params) {
    return <VSelect renderOpts={renderOpts} params={params} />
  }
})

import VUpload from '@/components/VxeRender/VUpload.vue'
VxeUI.renderer.add('ZUpload', {
  // 项显示模板
  renderFormItemContent(h, renderOpts, params) {
    return <VUpload renderOpts={renderOpts} params={params} />
  }
})

import YEditor from '@/components/VxeRender/VEditor.vue'
VxeUI.renderer.add('YEditor', {
  // 项显示模板
  renderFormItemContent(h, renderOpts, params) {
    return <YEditor renderOpts={renderOpts} params={params} />
  }
})

import YPopup from '@/components/VxeRender/VPopup.vue'
VxeUI.renderer.add('YPopup', {
  // 项显示模板
  renderFormItemContent(h, renderOpts, params) {
    return <YPopup renderOpts={renderOpts} params={params} />
  }
})
